package com.ddwl.schema.bo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/7/15 12:58
 */
@ApiModel(description = "收藏Bo")
@Setter
@Getter
public class CollectBo {

    @ApiModelProperty(hidden = true)
    private String userId;
    @NotNull(message = "请选择商品")
    @ApiModelProperty("商品ID")
    private String itemId;
    @ApiModelProperty("子商品ID")
    private String skuId;
    @ApiModelProperty("子商品barcode")
    private String barcode;
    @ApiModelProperty("收藏标识 1收藏 0 取消收藏")
    private Integer collect;
}
